package com.example.java251111_schoolmybatis.model;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class User {
    private Integer id;
    private String username;
    private String idCard;
    private String phone;
    private String name;

    public User(String username, String idCard, String phone, String name) {
        this.username = username;
        this.idCard = idCard;
        this.phone = phone;
        this.name = name;
    }
}
